Fixed basic auth issues.