Ensure modules do not show when session is set to "none"

Even if module data exists in caches.
Merge pull request #635 from unikent/feature/fix_session_none_support

Ensure modules do not show when session is set to "none"