Add some javadoc.
Moved session timeout to server integration tests.