Avoiding being locked out of Apple Store - password
On my MBA with Mavericks, I can find the Apple Store Password in my key chain.

Open key chain (in Utility folder), log in if you have to (usualy it is the same log in as your computer)

Next type "Apple Store" in the search window

Open it and use show password (you might have to provide log in again).

You should see the password.