Teach SessionStore to use db number as well