Import/Export Scripts CSRF Issue

With CSRF tokens enabled, which we want, the import/export scripts dont work. This was an issue that other people ran into in slack. Theres a way to retrieve a token but it still doesnt work for me.

Potentially passing the token around got fixed, so look into it.

Or explore using the CLI instead of the API for importing/exporting to avoid it.