Use the '-U' or '--proxy-user' options in the curl command to provide the username and password for the proxy server. If curl should not use a proxy, review your network settings.