Allow PasswordValidator to be translated

The strings in `PasswordValidator` are hardcoded to English.

This change allows them to be translated to other languages.