[major] Adding support for passport 0.2.x and some improvements