Test loginAuth with local file