Write a tests to verify login / token system.