Fix setting of password.