San Lorenzo needed extra time to beat Auckland City and set up a meeting with Real Madrid in the final if the FIFA Club World Cup.