[fixed] Fixed example code so that custom authentication providers only clear their own tokens
Merge pull request #2835 from alcaeus/ticket_8226

[WCM] Fix example code to reflect changes for #8226