Quit app/abort sync gracefully.
Use UTF-8 for basic auth

Slightly off-specs, and fails for non UTF-8 setups,
but the ownCloud server itself expects UTF-8 encoding.