Use API tokens in tests.

Fixes #9.