Add support for API Redirect on a 302 response