session variable nil in benchmarking environment

I encountered the same problem. Anyone have some idea?