Adding in http interceptor to catch all redirect responses from the api.