fix: needs_profiles_devices resoling in portal cache