Fix the bugs of register after checkout (allow all to login)