connect to the HP api and get auth URL