unbreak auth_remote and possibly other auth plugins