Fix non ascii password change.

[Closes #4003]