refacor login logic so that it be more testable
add test for LoginManager
add api test for formField with id 2
add test for CharityAdmin user
add a few test for CharityAdminServlet, also setup build.xml for both unit test and gui test