Detanglement of generate_assertion from complete_sign_in.

* The stuff dealing with the animations for completing sign in is now in its own module, complete_sign_in.
* Clean up elsewhere. Add new tests.