Steps to repro
1)login to ranger UI.
2) wait until the session is expired / delete the cookies from the browser
3)Click on export button of any service
4)The loader is shown indefinitely.
In the background, the below call fails with HTTP Status 419
Expected: Should go to login page if session is expired.