Added complete coverage to events related to cache flushes.

Before this change, only *some* of the user management
events did post proper events that other components might
react (in this case with cache flushes). Now all the
security system methods are covered.