bug fix for proxy auth