Minor changes to PasswordValidator.
Done with PasswordValidator.