Check_MK login finally works with new cookie auth, popup window closes if status changes to OK.