Fix enrolment and simplify.

Enrolment was needlessly complicated.  The authentication code has
been removed, and the session handling improved to provide some
feedback to the user.  Message names have been fixed.

Jira issue: WP-959