fix setting up of endpoints

each chef cookbook uses a different attribute scheme for storing the
respective openstack service's protocol and scheme so we have to get
those differently to set in the openstack-common cookbook endpoints