fix NPE when there is no profile configuration for a relying party