Fixed so returned errors does not contain user:pass in urls.