Issue with CSRF token after sentry upgrade

Thanks for the prompt reply. @BYK

I tried few of your answers and some solutions on github issues. Most of them are stale issues and are already fixed in the latest master which we are using.

Not sure how to proceed from here.