BB-1970: Connect to backend
This PR connects the new Ocim frontend to the v2 backend APIs and adds a few missing features to the registration form.
Testing instructions:
- Run the backend and frontend from this branch.
- Go through the registration form and complete a registration.
- Check that the user was created.
- Click on the email validation links (they are printed on the backend console output).
- Check that the instance is created and starts provisioning.
- Check that the field validation is working.
- Try to break the form: start on a wrong page (such as
/registration/instance
).
Reviewer: