Fix group and profile creation for admin user