Harrogate Town came from behind at Priestfield to secure back-to-back League Two wins with a 2-1 victory.