Add CouchDB default username and password to configuration example
Fix deletion of free text answers (refs #7880)

There was a bug in the session retrieval code causing an exception.
Set tracking mode for Tomcat

Set tracking mode to COOKIE to prevent session URL rewriting.