Handle http basic auth rather than hardcoded auth