AuthTest now runs tests in correct order.

Added event support to AuthTest. Added support for removing user from all groups before they are deleted.