Proper session factory configuration in new OSGi apps when sharding is enabled