Fixes bug in password save on user edit