HSEARCH-472 Change the HibernateSessionServiceProvider to provide the SessionFactory rather than Session