Sending encoded params to Parse when logging in

The Parse API requires the username and password to be encoded and sent
as parameters when making the /login request.