This is something I've been thinking about for a while. Why does the App Store prompt the user for a password regardless whether the app is free or not?
My theory is that of consistency; Since you are forced to enter your credit card details when you log in for the first time, and you already entered your password when downloading a free app, taking the step to actually purchasing an app will seem smaller, since the process is exactly the same.