tests/stream: fix indentation
stream: use token in requests

Related to #288.
setup: bump to 0.3.11