Fix registration bug when unregistered users signed up but their email was already in the database