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

previous indentation was correct, per https://github.com/bbatsov/ruby-style-guide#indent-when-to-case