Candidates have faced criticism for ‘jokes’ about white nationalism and links to a far-right German politician’s speech.