Fix setup-endpoints handling of public URLs.

We were always registering heat, tuskar and ironic with internal URLs,
even if SSL was requested - this breaks things when the internal URL
is on an unreachable network for clients.

Change-Id: Ia07adc3b85d20c45293fe62d4abca9ec270787ef
Merge "Fix setup-endpoints handling of public URLs."