If completeAuth is called with an authenticated url (e.g.
`http://USERNAME:PASSWORD@myjamjs.com/jam`) it calls the callback with
the original unparsed url however if the url requires authentication
(e.g. `http://myjamjs.com/jam`) then it calls the callback with an
already parsed url.
In the case of the publish command this results in the calling doPublish with a