Fixed / unified login methods in UiAuthenticator and HtmlServlet, added central doLogin method
in AuthHelper.