curl attempting to connect to the cattle url should follow redirection if rancher is under a reverse_proxy, adding -L to curl command