Improve auth plugins.