Fix RESUtils.urlencode per Hello71's suggestion
Closes #462
Merge pull request #462 from andytuba/issue_462

The urlencode method breaks accountswitcher for certain passwords