Fix an issue with curl insecure in config files

Due to the way CURL_INSECURE is declared when it comes to the "[ -z $CURL_INSECURE ]" check in set_curl_insecure() it will always fail.

To prevent this and make retrieving the variable from configuration files possible we declare it the same way we do with the other config variables.