Removed old authentication - added support for auth strategies.

Fixes #23 #24