MOBSDK-530: spaces in usernames have to be replaced with  %20 to work as part of a URL.