Make sure to only set custom headers for AJAX calls that don't go to AWS