COOPR-568: changes in the provisioner to use TLS when talking to the server

I use environment variable from the coopr.sh script.
I suppose it would be better to change the name in the both places.