PLINK-165: migrate eric whittman's login module for REST/SAML bearer token
Merge pull request #5 from anilsaldhana/master

see comments