auth_popup fix