add expiry to sessions held in cache

fixing this issue with the suggested fix.

https://github.com/andreacfm/Redis-Cache-Extension/issues/2