Added support for auth plugins.