HHH-8703 Remove need to support EntityKey de-serialization without having access to a SessionFactory