// loginpage, else the homepage will be used which will trigger a bind
// because a throw restartResponseAtInterceptPageexception will trigger
// a session.bind
SwarmFormTester form = mock.newFormTester("form");
form.setValue("username", "test");
form.submit();
mock.assertRenderedPage(MockHomePage.class);
mock.setupRequestAndResponse();
assertFalse(Session.get().isTemporary());
mock.processRequestCycle(MockLoginPage.class);
}