Unregister and login commands

@satazor @svnlto @sindresorhus

Please test this thoroughly, and check that everything makes sense. Probably best to only unregister things that you registered for testing!

The UX may not be right, comments welcome.