URL encoding

Added a URL encoding to the info in the POST request; fixes odd
characters in email addresses that were breaking logging in to the users
account. (Thanks, Rob :) )