fixing tests for API Key & secret key authentication.