Which version of Windows you have? Try if this problem also appears when you remove the password (when you just need to click login instead of entering password)?
Probably it's not the answer but a few years ago I had similar problem and just figured out that my caps-lock is turning on by itself :D