Move the declaration of the session variable from annotation to the spring servlet xml

Reviewer: Tiff Go

Issue: none