Fixed regression - editing user caused them to dissappear from manage users page - reason was user 'type' wasn't being preserved