Add support for loopback 2.x
Add support for loopback 2.x

Adds support for loopback 2.x while maintaining backward compatibility.
sqlwwx/loopback-component-passport,gatero/loopback-component-passport,wearescytale/loopback-component-passport