Add test for sessions cached in memory

This change adds a test to check that if Redis loses session data
Tomcat can continue with its locally cached copy.

[#64606272]
Merge branch 'session-cached'