Correct mechanism in cpp authentication example

Signed-off-by: Sam Kleinman <samk@10gen.com>