Instead of ugly filter, use injection magic to perform auth.