sessions: add ini_set with proper handler for memory storages