It's necessary to use dynamic templates in order to tell ES
not to index any string field, otherwise fields like auth_key
which might be created with a random pattern containing lower
and upper case characters won't be suitable for exact matching
and authentication won't find the user with the given field.
Removed ES search with auth key test.