Issue #84 - review/tidy up alt_auth plugin.
Further testing needed.