Use Cache backend session only for tests
Merge pull request #2724 from yakky/feature/session_cache_tests

Use Cache backend session only for tests