PLINK-203: migrate openid code for CafeDwarf