Include basic auth if it exists in the URL