user name and password need to be encoded as well
fixes #1652
Merge pull request #12 from owncloud/fixing-1652-master

user name and password need to be encoded as well