Debug prints.
Updated tests after changing api.
Revert "Debug prints."

This reverts commit 40e320c1f21da8d6497802c34b0b1616e192d81d.
Revert "Updated tests after changing api."

This reverts commit 4992cceea48d988adca5509ac94a36d09d2becc8.
Revert "Using token auth."

This reverts commit 7269e5403d6cdc69385235ca6e37d9d431bdeb9b.