Login problem with localstorage

I have a problem with the login component. When the cookies were deleted, it is not possible to log in. I see that there is still something present in localstorage, is there a hilla way to solve this? Or do I need to clear the local storage manually?

That session cookie should not have anything to do with the login component.

How have you built your login? What issues are you seeing more specifically?