Cleaner way to set authorization token. And it parallel's what's done in Python. Thanks to Paul.