docs: def _Login():
  		"""Login to retrieve bearer token and set default accoutn and location aliases."""
  		if not clc.v2.V2_API_USERNAME or not clc.v2.V2_API_PASSWD:
  			clc.v1.output.Status('ERROR',3,'V2 API username and password not provided')
  			raise(clc.APIV2NotEnabled)
  
  		session = clc._REQUESTS_SESSION
  		session.headers['content-type'] = "application/json"
  
  		r = session.request("POST",
                              "%s/v2/%s" % (clc.defaults.ENDPOINT_URL_V2,"authentication/login"),
                              json={"username": clc.v2.V2_API_USERNAME, "password": clc.v2.V2_API_PASSWD},
                              verify=API._ResourcePath('clc/cacert.pem'))
  
  		if r.status_code == 200:
  			clc._LOGIN_TOKEN_V2 = r.json()['bearerToken']
  			clc.ALIAS = r.json()['accountAlias']
  			clc.LOCATION = r.json()['locationAlias']
  		elif r.status_code == 400:
  			raise(Exception("Invalid V2 API login.  %s" % (r.json()['message'])))
  		else:
  			raise(Exception("Error logging into V2 API.  Response code %s. message %s" % (r.status_code,r.json()['message'])))