Fix Passport deprecations.
Passport config cleanup
Authentication tests.