Properly handle basic authenticaton URLs inside proxied pages.