The button is NOT always on the right side it will always appeared with a profile setting section.
The brands would like to force you to see the basket or wishing items before you log out. Which will helps business and users. The company generates revenue, and the user got a reminder before logout.