Fix admin url generation