Head to the account menu at the top of the page and click:
Now find the account you want to remove and click the three vertical dots next to it to access the 'More actions' menu:
In this menu, simply hit 'Remove account'. You'll be prompted to confirm. When you do, it'll be removed from your portfolio.