Add a test case for basic auth