[CXF-5878] Disabling policy engine causes NPE