Fix error messages when registring.

Confirmation still does not work for some reason.