Fix bug in password_checker.