authFields.getExt(true).put(TestSecurityPolicy.TOKEN_FIELD, "something");
BayeuxClient client1 = startClient(oort1, authFields);
Assert.assertTrue(client1.waitFor(5000, BayeuxClient.State.CONNECTED));
// Wait for long poll to be established
Thread.sleep(1000);
Assert.assertTrue(client1.disconnect(5000));
// An invalid client may not connect
BayeuxClient client2 = startClient(oort1, null);
Assert.assertTrue(client2.waitFor(5000, BayeuxClient.State.DISCONNECTED));