Add CSRF token in metadata import services