PLINK-203: migrate openid code
Merge pull request #6 from anilsaldhana/master

see comments