Fix API tests.
Add auth.
Add auth.