Add “enroll” state to the state machine

This spec was proposed in the Liberty cycle.

See Add “enroll” state to the state machine.