Fix avatars in ACP which use https, ftp or ftps.