public void login(String email, String password) throws IOException {
logger.info("Logging in as " + email + "...");
String fkey = parseFkey("https://stackoverflow.com/users/login");
HttpPost request = new HttpPost("https://stackoverflow.com/users/login");
//@formatter:off
List<NameValuePair> params = Arrays.asList(
new BasicNameValuePair("email", email),
new BasicNameValuePair("password", password),
new BasicNameValuePair("fkey", fkey)
);
//@formatter:on
request.setEntity(new UrlEncodedFormEntity(params, Consts.UTF_8));