Fix for userprofile not being created when users are added to the system

The UserAuthentication object expects a UserProfile to be created and associated with it. The UserProfiles were being created on new User creation but not handed to UserAuthentication, causing an error.