Fix for local account creation bug.