Fixed an issue where email value cannot be retrieved
in the login modal of the register page