Take into account endpoint type from settings

During the authentication the value of OPENSTACK_ENDPOINT_TYPE from configuration file must be taken into account.