Usernames need to be escaped when looking up profiles.
If a user attempts to lookup a user with an escaped name, ex. "john smith", Spark needs to escape the name properly. (john\20smith)
With the latest Spark version i can see john%20smith in the titlebar of the view profile window when watching user's with space in username profile.