Add authentication example. Closes #70.