localTime.set(Calendar.MONTH, Calendar.JANUARY);
localTime.set(Calendar.DAY_OF_MONTH, 1);
String pageAfterLogin = httpPostPage(loginPostString, loginPostNames, loginPostValues, quick);
// See if we got any cookies
CookieSpec cookiespec = CookiePolicy.getDefaultSpec();
Cookie[] logoncookies = cookiespec.match(serverHost, serverPort, "/", false, client.getState().getCookies());
if (logoncookies.length==0) {
this.loginPassword=null;
throw new ConversationException("Authentication failed");
}
log.info("Authentication ok");