CORS Errors while Redirecting with Actions