refactored authentication matchers