WIP Use active_record_store for sessions

https://www.openproject.org/issues/1718

Before merging this, we need to find a way to automatically clean the sessions table, otherwise it only grows.