Replace tokens in logout URL.