Add example and documentation for v2 auth - fixes #18