Revert the "setNewPassword" hook changes until there is a working solution