Add tests for auth_mode
2 files changed