Yep I have had this issue for months too. The temporary solution is when you log out and try and sign into account b is to select the account you want and click next, dont enter the password at that time, click change account again and click account b then you can enter the password..

 

However I now have this ridiculous log out problem. I cannot log out of the account without clearing cookies each time. Driving me mad.