https://github.com/medic/medic-webapp/issues/706

Toward #706: Add view regeneration implementation, but don't actually invoke it
yet. The next commit will switch it on; the view regeneration will likely be
launched as soon as the password is set, and be checked as a last step in the
`medic-api` polling code.