Send Status information to Remote Device with Authentication using HTTP GET

The best help for a lot of issues is to go to the examples of the library in question.

That response says NOTHING useful about connecting to a server THAT REQUIRES AUTHENTICATION.