// @noinspection TailRecursion
public CookieJar getSignInCookie(String username, String password) {
boolean isAdult = JConfig.queryConfiguration(mSiteName + ".mature", "false").equals("true");
String startURL = T.s("ebayServer.signInPage");
CookieJar cj = new CookieJar();
if (isAdult) startURL = Externalized.getString("ebayServer.adultPageLogin");
URLConnection uc_signin = cj.connect(startURL);
if(JConfig.queryConfiguration("debug.auth", "false").equals("true")) {
JConfig.log().logDebug("GET " + startURL);
JConfig.log().logDebug(cj.dump());
}
try {
StringBuffer signin = Http.net().receivePage(uc_signin);
JConfig.log().dump2File("sign_in-1.html", signin);
JHTML htdoc = new JHTML(signin);