fix an issue where redirect_to didn't work for non latin urls 

https://wordpress.org/support/topic/redirecting-from-a-arabic-or-farsi-fancy-links-goes-wrong?replies=1

git-svn-id: http://plugins.svn.wordpress.org/wordpress-social-login@1007276 b8457f37-d9ea-0310-8a92-e5e31aec5664