glideFactory.py should not create keys and url lists if remote logging not enabled
The implementation of #24140 requires an encoding key 'jwt_secret.key' in /var/lib/gwms-factory/server-credentials.
The way glideFactory.py was originally coded for this feature, if this key is not present, the factory logs an error and exits.
An emergency fix to glideFactory.py was added with #24256, if the key is not present, create it and log that this was done.
The correct behavior is:
- check the configuration
- if the feature is enabled check for the key and die if not present.
- if the feature is not enabled, skip checking for the key.