Some minor changes to PasswordHash class.