Add tests for basic authentication.