fixed tests for basic_auth