changed session driver to 'database'
fixed persistence tests to use database session driver