MDL-65959 core_badges: Allow ability to upload badges cross domain.