Fixed the AccessControlTests

Some were failing because the test environment wasn't letting Ecots
register their State Cache entries.  Now fixed, in a general way.