@Test
 public void testThatAuthIsDeniedWithArbitraryString() throws Exception {
   receiveRequest("dafuq");
   assertThat(env.getResponse().getStatusCode(), is(403));
 }
 @Test
 public void testThatAuthIsAllowedWithValidUserAndPass() throws Exception {
   receiveRequest(encodeBasicAuth("user", "pass"));
   assertThat(env.getResponse().getStatusCode(), is(200));
 }
 @Test
 public void testThatAuthIsDeniedWithWrongPass() throws Exception {
   receiveRequest(encodeBasicAuth("user", "wrongpass"));
   assertThat(env.getResponse().getStatusCode(), is(403));
 }