@DirtiesContext
public void testBaseAuthorization() throws Exception {
SecurityContextImpl securityContext = (SecurityContextImpl)this.securityContext;
securityContext.setAuthentications(null, null);
List<Authentication> authentications = new ArrayList<Authentication>();
Authentication auth1 = getAuthentication(0); // allow nothing
Authentication auth2 = getAuthentication(1); // base, allow all
authentications.add(auth1);
authentications.add(auth2);
securityContext.setAuthentications("token", authentications);
InternalFeature feature = new InternalFeatureImpl();