Are there ways to have Mac OS recognize my password "better"?
If you press the modifier keys (Command, Option, Control, Shift), it will wake the computer but not type anything, so you can press them as many times as you like without messing up your password.

I usually just drum on the modifier keys until I see the password cursor, after having exactly the problem you describe.