Added basic authentication to GetHTTP and PostHTTP