@Test
public void testBadLogin() throws IOException, TokenExpiredException {

    try(ArgusService argusService = new ArgusService(getMockedClient("/AuthServiceTest2.json"))) {
        AuthService authService = argusService.getAuthService();
        authService.login("aBadUsername", "aBadPassword");
    } catch (ArgusServiceException ex) {
        assertEquals(401, ex.getStatus());
        return;
    }
    fail("Expected an ArgusServiceException for bad login.");
}