That's not a Firefox-specific problem; it's the website cookies. The easiest thing would be to open a Private Browsing tab for your second login. That doesn't save cookie info.
...