Encode proxy for all auth types.
Merge pull request #409 from fmoloney/CommunityImages

Encode proxy for all auth types.