Fix the cloud forgot password.
General fixes and improvements.