@Test
public void testGetAuthenticatorInstances_default() throws Exception {

  when(config.getAuthenticators()).thenReturn(null);
  List<Authenticator> authenticators = Lists.newArrayList(auth.getAuthenticatorInstances());
  assertEquals(1, authenticators.size());
  assertTrue(authenticators.get(0) instanceof EndpointsAuthenticator);
}