Have CloudCare use secure url when appropriate

And to change the way the url is gotten: it's now passed in instead of constructed from the app id

I tested by submitting forms on cloudcare on apps with both values for Use Secure Submissions with network tab open, and made sure that they submitted to urls with and without `/secure/` as appropriate.