[login] remove slow path from Check()