fix the User.save method, see EDUID-179