Add a configurable timeout on entering a password.