Switched from WebRequest to WebClient and removed in-script authentication, relying on http authentication now, which should be safe

when using https.