fix problem with domain admin type. add test for creating new users and domain admins, reopening will show correct user type