added integration test for basic authentication.