add support for basic auth in uris