Add ``token`` parameter to the ``/keys/query`` endpoint