Fix gitlab test: no longer doable to test public pages with csrf token so we only rely on API