Changed REST calls to use only the API key.
Changed unit tests to no longer care about tokens and auth mode.