5017: Set nr_credentials to 0 if x509_proxies_plugin is not defined

If x509_proxies_plugin is undefined, set the number of credentials to zero
and throw a NoCredentialException (which gets caught and logged).