Fix failing tests: don't init HibernatePersistenceContextInterceptor when there isn't a sessionFactory available