fixed authentication bug when username and password is provided in URL
fixed authentication bug when username and password is provided in URL

jwiggins/keyenst,ilanschnell/ironpkg,ilanschnell/ironpkg,jwiggins/keyenst