CORE-5558: allow the UI to detect when a service call causes a redirect