Fix change password implementation