I have tested that my token works via curl:
curl -XGET "http://localhost:8086/query?db=test2&q=show%20databases" --header "Authorization: B