Add CSRF token in metadata batch services