Fixed basic auth tests.