If it happens on the first character of the password, then this is likely to be a dupe of bug #48644. -- ubuntu 6.06, Correct password fails causes running of program to loop back to password screen https://launchpad.net/bugs/55406