Check password when the user change/set a password.