Changed the object merging code in user modules to only merge in identities. Added a test to delete a profile object.