The American folk song became the biggest single for the R&B-flavored British Invasion band, but a songwriting credit caused problems