Fixed basic auth issue