Bugfix/two factor after password reset 0.2

Support sending out two-factor challenge after a password reset.