Created test cases and enabled gated access control for collections,
MADS classes, and all other non-object classes. Refactored the codes and
test cases for access control. (DHH-251)
Fixed those existing test cases that failed for the gated access control
matters. (DHH-251)