Fixed a bug when the user tries to register with an email address containing a + character.