So in order to solve this problem, I modified the HTTP headers like so:
sub vcl_recv {
set req.http.Authorization = "Basic d2h5ZGlkeW91OmRlY29kZXRoaXM=";
}
The encoded part is the base64 of the username and password you want to use:
echo -n "username:password" | base64