Fix upstream proxy auth fail

- Fix upstream proxy authentication fails when an upstream proxy requires an authentication.
  - users can specify own authentication ids or passwords