Add authorization support
improve query syntax
Add build test for datastream and datapoint