Fix alias setting during login