If there is a difference between the 'local items' and the 'login' keychain, then locking the 'login' keychain and then unlocking it will bring up the 'new password' dialogue box as well, no need to do a chain repair first. Make sure both of them are the same as the password on the user account and that would be the end of the pop up boxes asking you for the password.
On a side note, keep a close eye on the app asking for the password, if you want to go fast it might look like you're typing in the wrong password, while all your doing is clearing one with the correct password and getting the next one in queue. When getting the boxes, first open up keychain, unlock both of them and then cancel all the dialogue boxes...
OP found already the solution – Sam – 2017-05-02T09:10:07.133
2Yep, I tried that, but it didn't work for me. So I thought sharing is caring. :) – hfossli – 2017-05-02T11:20:27.387