Use the exists check for the widget API directly instead of a feature flag.
Instead of relying on failures directly use the available method to download the avatar.
If we can't authenticate media because we're running as a widget, use the MC4039 widget API instead of a direct fetch to download the avatar.