[feature/session-storage-cache] Minor code changes for clarity

PHPBB3-11705