Added LoginManager as an HTTPSessionListener, and added it in the
listener configuration for web.xml, so that the site can perform login
and logout events when this behavior is desired.