Membership 2. Getting an error when trying to login to some pages

After I try to log in as a user on the front end content for members only, page reloads and add :443 to url.
The whole website has got a ssl cert.
Please help.

Thank you