Added export for abstract authentication mechanism. Fixes #47

To