Introduce the custom account activity predicate to allow customise the
way of resolving accounts during the search.
Current implementation filters out inactive users during the change data
query but changes from inactive user should be visible.
Bug: Issue 11367
Change-Id: Ib8cfcf3e7c4f21a0207f801c111c5359716bda9c