Make sure redirect exceptions are thrown during API calls too