Interpret modifier keys (e.g. shift) when processing key codes.

Make sure to interpret the shift key so passwords with symbols are properly blocked.