the best way is to keep the same password for OS user of both machine. or from preferences of EM control, set the OS user name and passoword for both machines respectively.
one thing more that may cause this even u r providing the correct password, that is, go to
start> setting > control panel>administrative tools> local security policy >
and assign a right ” log on as batch job” to the OS user, that u use for oracle.