Clicking a link to the home page logs my users out of the website

Hello. I am using the latest version of the Membership plugin version

A weird thing is happening that I noticed in previous versions of Membership as well. When I am logged into the website as either a registered user or a member who purchased a subscription, when I click on a link that leads to the home page, I get logged out of the website.

Also, if I am logged in, and I just type the URL of my domain, I also get logged out. So it's not just clicking a link to the home page that logs me out, it's also if I just go to the home page by typing it in the address bar.

Any thoughts on why this may be happening?