Fix user::preparePassword + redirect on login