Made simple auth adapter use closures instead of bools.