Problem with non-ascii characters when using the discogs plugin and oauth PR

This PR fixes hopes to fix #1051.
It seems to work for me, i've succeeded to import albums with apostrophes that failed previously.