CLC-1594 Log app accesses; fix bug in stop_act_as
Merge pull request #919 from ctweney/clc-1594

CLC-1594 Log app accesses; fix bug in stop_act_as