[CXF-5764] Checking ClientIdProvider too if Principal is null