Tests user role-based access with Elasticsearch store.