Use ActiveRecordStore as session store

Here's an example backtrace: http://pastebin.com/raw.php?i=dJDMUYr9