Fixed a redirection issue after failed password creation.