Fix session manager factory class