MOBSDK-537/540: username with blanks (and other characters that need escape in URL); JSON error code slightly more detailed when refresh token is invalid