Fix bug auth_plugin