Test the setting of a user's unique API key on creation