@Test
public void testLoginSuccess() throws WPISuiteException
{
int test = this.sessions.sessionCount();
// generate a login token (password hardcoded)
String hashedPassword = new Sha256Password().generateHash("jayms");
String token = BasicAuth.generateBasicAuth(this.u.getUsername(), "jayms");
Session ses = this.auth.login(token); // login
// check if session created for the user