For future reference, if you are concerned about a game selling out quickly, you need to have your account setup and logged in with payment info ready to go BEFORE you try to buy.
Not everything sells out quickly or immediately, but for the popular stuff, if you waste time entering passwords or payment info, you will almost always miss out.