Raise a specific exception for password complexity errors

This had been added before, reapply this feature to make sure clients
can identify this common error when changing passwords.