Reuse AuthComponent to also support stateless auth.