post https://identity.coldstream.diabatix.com/account/login
n function to get the authentication key, this key is automatically stored in the API object
def login(self, email, password):
login_url = self.identity_url + "/account/login"
payload = json.dumps({"email": email, "password": password})
response = requests.post(login_url, data=payload, headers=self.put_header_login)
print("login response:", "\n")
print(response.text, "\n")
self.auth = "Bearer " + response.text.split(':')[1][1:-2]