HttpResponse landingPageResponse = httpClient.execute(new HttpGet("http://127.0.0.1:8080/"));
// then - login page is displayed
LoginPage securePageResponse = new LoginPage(getBodyAndClose(landingPageResponse));
securePageResponse.shouldHaveCorrectFields();
csrf = securePageResponse.csrfValue();
// when - login is performed
HttpPost login = new HttpPost("https://127.0.0.1:8443/login");
login.setEntity(new UrlEncodedFormEntity(Arrays.asList(
new BasicNameValuePair("username", "fake@email.com"),