http://file3.status.net/i/identica/mmn-20120813T200844-meukzpf.html
I use !prosody and it'll register an account whenever authentication succeeds, if there isn't one already. (it authenticates against StatusNet user table) What I haven't done yet is made a hook to clean out rosters etc. whenever a user is deleted. But I have at least disabled nickname changes.