Authentication filter for Elasticsearch