Set-Cookie header not well-formed

Seem to have hit this bug after setting up a remote registry to gitlab-org on our artifactory instance:
https://gitlab.com/gitlab-org/gitlab/issues/36362

Catalina logs when trying to docker pull image:
2020-03-19 10:01:31,175 [http-nio-8081-exec-984] [WARN ] (o.a.h.c.p.ResponseProcessCookies:129) - Invalid cookie header: “Set-Cookie: experimentation_subject_id=IZi04YTA5LTNiZDjVizhlZjAZEyg2Y3OCjgwMDJlLTc5N2EtNDI%3D–42378db3c71a4be1cdca3fcf35c307ca1808b066; domain=.gitlab.com; path=/; expires=Mon, 19 Mar 2040 10:01:31 -0000; secure; HttpOnly”. Invalid ‘expires’ attribute: Mon, 19 Mar 2040 10:01:31 -0000

2020-03-19 10:01:31,176 [http-nio-8081-exec-984] [WARN ] (o.a.r.RemoteRepoBase:437) - gitlab-org: Error in getting information for ‘build/cng/kubectl/1.13.12/list.manifest.json’ (java.lang.IllegalStateException: Can’t fetch token for repo: gitlab-org realm: https://gitlab.com/jwt/auth scope:repository:build/cng/kubectl:pull).

Anyone know of a fix/workaround to this bug?