Removed the unnecessary layer of AuthenticationContext indirection.
Refactored things to make the SecurityModule lighter.
Moved the access counter map's logic into the AbstractAuthenticationScope as the data lifecycles are the same.