[FIX] Session API for file/material access with key
[FIX] Session and _req usage in xmlGateway
[FIX] session for registration things (except form editing)