Add test to use token to retrieve userid.
Add example to perform login for every test.