webClient.setAjaxController(new NicelyResynchronizingAjaxController());
webClient.waitForBackgroundJavaScript(120000); // Closure can take a long time...
webClient.setHTMLParserListener(HTMLParserListener.LOG_REPORTER);
webClient.setTimeout(120000); // Closure can take a long time...
alertHandler = new CollectingAlertHandler();
webClient.setAlertHandler(alertHandler);
token = createToken("canonical", "john.doe");
language = null;
server.clearDataServiceError();
}