Fix to work when keystone is behind haproxy
Use new helpers to get hostnames for endpoints