Fixed sessions to go to the new database.