Upon further review, this issue is only reproducible when using vertical tabs and it doesn't seem to have anything to do with pinning discord. After testing with a fresh profile, I can do pretty much anything on discord without having to relog, but the moment I switch to vertical tabs and reload the tab, I am presented with the good old "Choose an account" prompt.