Changed to HTTPS

Now rather than HTTP 500, it gives an HTTP 401.