Remote users can't edit their profile anyway, so this must all be set.
MDL-18759 if a remote user is not fully set up, moodle gets in an infinite view user/edit user loop (mnet)
MDL-21294 change all error handling in mnet
MDL-21260 General open bugs