Update login handling for new glazier-server cookie-based approach