[Core] Cache web proxy credentials
[Mac] Make proxy auth lookup more flexible