Authentication failure with Watson Knowledge Catalog - both on-Premise and IBM Cloud

Resolve authentication failure with the Watson Knowledge Catalog (WKC).

The following error is displayed on the Watson Knowledge Catalog connector logs, when the connector fails to authenticate with the Watson Knowledge Catalog instance.
2020-07-16 12:46:04,870 - WKCConnector - ERROR - User authentication failed with response code 401
2020-07-16 12:46:04,871 - WKCConnector - INFO - No valid token available, cannot connect to WKC. Please set API Key or User Credentials
When the WKC authentication fails, check to ensure that the correct values are defined for the following environment variables for the on-premises connection:
WKC_USER, WKC_PASSWORD

If you are using an IBM Cloud® connection type, you must check the value of the environment variable WKC_API_KEY.

Run the following command to check and confirm the configuration for the specified environment variables in the pod helm chart: oc edit deployment spectrum-discover-wkcconnector