Splice some basic auth into a url string or url parsed object