Added fix for URL encoding token sent in URL.