Finally remove unused setpass/register hooks.
Big multiple-plugins patch (fixes #2).