Added a randomly generated API key when a new user is created (fix for ORION-242)