It seems that the problem resolves itself when you login when the screen is completely invisible, and the vertical tab sidebar is at it's minimum length. Please look into the code regarding vertical tab bar size, as it seems that it unwittingly affects the cookies of Discord, and resizing it seems to completely change what set of cookies or rather profile are used for Discord only, albeit mysteriously for some reason I have no clue of.