Minor cleanup
-Implement session management in AgentServlet, currently using the token
handshake mechanism.
-Tests update