That returns the right values in case of proxy authentication.
Created attachment 421303 [details] Patch
Committed r273379: <https://commits.webkit.org/r273379> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421303 [details].