Fix file sync errors with passwords containing % + two hex digits

Usernames and passwords going into nsIURI have to be percent-encoded.