Fix messed up login form layout after logging out

You may have noticed that the layout of the login form is incorrect after logging out from a page created or modified using the v3 builder. This is particularly noticeable when using SSO for login. This is on Knack's radar, but with no ETA on a fix.

Here's a little snippet to fix this issue, without having to refresh the entire page: