IFRAME won't redirect to login page

That looks like the problem.
I also tried changing the redirect link on the login page, that didn’t work either.

Is there a workaround? Perhaps adding a trusted domain? I’d prefer not to remove the clickjacking protection all together.