Add tenant to URI

Also add test and implementation for posting to stream