Adding unit test infra for mocking http calls and adding a few basic authentication tests