Remove TGC templating for authorize and profile.