Authentication support added back. Basic examples added.