Make authorization.validMatches work as expected.