Fixing the environment variables used to connect to the server when running in OpenShift.