Support for tokens in multipart file upload using API.

Multipart file upload CSRF token validation for saas branches.