helper.setUp();
database = createMock(Database.class);
request = createMock(HttpServletRequest.class);
response = createMock(HttpServletResponse.class);
servlet = new NigoriServlet(database);
keyManager = new RealKeyManager(serverName, toBytes("username"), toBytes("password"));
// TODO need to correctly create user
user =
AEUser.Factory.getInstance().getUser(keyManager.signer().getPublicKey(),
keyManager.signer().getPublicHash(), new Date());
}