Core/Command: Fixing .account password to no longer crash

And add some comments to it.
Merge pull request #10792 from Ascathor/master

Core/Command: Fixing .account password to no longer crash
Fix build