synopsis: Add Functor instance to AuthHandler. prs: #1638