Implement authentication to query interface endpoint

Fixes#79