Add template for api keys used for testing
Add configuration option for request timeout
Refactor parameter handling, implement configuration for request timeout
Implement test for oauth