You may be using the wrong account PIN. The PIN that's required to upgrade through Apple's Upgrade Program is the T-Mobile account PIN. It's generally 6-15 digits and different from your My T-Mobile password. Please give it another shot using the info I provided and let me know if that works.
Manage your T-Mobile account