If you disable cookies on a domain that redirects you to a third-party domain for login, it becomes impossible to re-enable the third party site's cookies on the first-party site's domain

You can try clearing site data.
Clearing site data solves most problems like this.