Add auth module stub, seam, and requirements.
Address review comments and simplify tests.
Add settings mechanism.