wrote test for authentication, using superagent agent to store persistent sessions between tests