Schedule Tasks in Windows required to specify username and password. However it doesn't verify that the combination is correct.
Scheduled Tasks tool should have an option to verify username/password combination and this validation should be forced when user saved(clicked OK) the task.
I've noticed the issue on Windows 2003 server. Not sure, is it implemented on newer windows versions.