Fix encoding errors with UTF-8 OpenID URLs (bug #1363804)