MDL-41176 fix obvious bugs and typos in new user API
MDL-41176 make sure fresh full user record is used when mailing email confirmation
MDL-41176 do not set description and pw fields in $USER when editing own profile