fix(client): Ensure auth-server errors are displayed on confirm pages.

* submit returns a promise, and this is used to simplify the tests.

fixes #843
fixes #844