Cedric Main scored his first goal for South Shields - and it proved to be the winner in an important 2-1 victory at Warrington Town.