Fixed compilation error in login test