Fix gitlab test

No longer doable to test public pages with csrf token so we only rely on API