windows: use constants for the keys. Fixes ReadPassword.