Delete cached sessions when clearing expired sessions
Fixes #6907
only delete sessions from object cache if using persistent object cache
Merge pull request #6909 from webaware/cleanup-sessions-cached

Delete cached sessions when clearing expired sessions