Test exceptions in FilterAuthFunction