Setup session handling in Spring.