First iteration of pluggable authentication.