[feature/alt-session-storage] Minor changes for code consistancy

PHPBB3-11705
[feature/alt-session-storage] Escape session_id

PHPBB3-11705
[feature/alt-session-storage] Fix test_map_users_online

PHPBB3-11705