Clean up SecurityChecker.AccessType and modify code to use them
consistently.