Please follow attached Python script to access HCI authentication API on server(170).
Provided script uses SimpleHTTPServer and uses port 8008 to route auth request to server(170).
if you are behind proxy
Enable "enableProxy" inside script and provide "proxy_uri" as per proxy configuration at your end.
If no proxy applicable:
Disable "enableProxy" inside script