Create a new User with Admin Privileges.
Log out of current User account.
Log in to newly created Admin User.
Go to Finder and correct capital on the Home Folder. If it asks for the Admin password input it.
Go to System Preferences and select Users Groups. Unlock the padlock.
Control click [right click] on the User to correct and select Advanced Options.
In the drop down correct the capitalisation on both Home folder and Account name fields. Click OK
Log out and back into the corrected User account.
Go to System Preferences, unlock the padlock and delete the Admin account.