Now using Passport for auth. Added support for legacy passport format.