Auckland survive Magpies' fightback