Fixed proxy auth setting (issue #3037)