#7468 - Alter API auth to omit app_props.host if using locally or in preview