Big problem in EmailLogin. It stored Id() instead of GlobalId().