Fixes bug when updating user password from admin interface