Gets password resetting working and displaying the generated one in the UI.