Fix for validation bug on password change