SystemUIServer and other processes crash repeatedly on login
So I ended up just starting up from the recovery partition and reinstalling OS X.

The Reinstall Mac OS X option is like upgrading from 10.7 to 10.8: it could just as well be called something like repair OS X. I only had to reinstall Java, replace Apache configuration files, and so on.