Added API key generation during account creation

Added unit test for adding new customers/accounts.