Properly handle username uriencoding