Since upgrading to Mountain Lion, I have had fits with some applications no longer accepting valid passwords. Turns out for these you now have to type it in manually. If you copy and paste it shows the proper number of asterisks, but won't accept the password as valid.