Revert "moved password redirect to inside the success block"

This reverts commit bc77afad7ade5e9faf57def8c641cfff56a1c40a.