Support LazyStrings in cookie session

Fixes hhucn/adhocracy.hhu_theme#305.