I got it working by avoiding the problem, renaming my "shortspace" name to have no space, following this guide: http://www.macworld.com/article/1132693/changeshortusername.html
Here are the steps to follow:
If Automatic Login is enabled (in Accounts preferences) for the account you’re modifying, disable it. Similarly, if File Vault is enabled (in Security preferences), disable it. You can re-enable these features, if desired, after completing the procedure.
Log in as a different user than the one you want to modify; make sure the account you want to modify is not logged in.
Open the Accounts pane of System Preferences. If the lock icon in the lower-left of the Accounts window is “locked,” click on it and provide an administrative username and password; this allows you to make changes.
In the list of accounts on the left, right-click (or Control-click) on the name of the account you want to modify; choose Advanced Options from the resulting menu. In the Advanced Options screen, delete your current short username in the Short Name field, and then type in your desired new short username. (Do not make any changes to the Home Directory field.) Click on OK and close System Preferences.
Restart your Mac.
After restarting, your original short username will no longer be valid; you’ll need to use your new name exclusively. Mac OS X automatically updates any groups to which your account belongs, and changes the path to your personal Web Sharing directory (for example,
http://yourIPaddress/~newusername).
TIP: If after changing your account name, you find yourself occasionally typing your original username by accident, you can use the first procedure, above, to add your old name as an alias to your new one.
Advantages: Relatively safe; your actual short username is changed; avoids problems with preferences and applications that store settings based on the path to your home directory; Web Sharing directories reflect your new username.
Disadvantages: Doesn’t change the name of your home folder in the Finder or the name of File Sharing shares; can cause minor issues with preferences and application that store data or settings based on your short username.