Update inline documentation for authenticate function
mathematica: Fix typos in example