Adding a ComponentAwareInterface and Trait to the authentication and authorization adapters.