Tweaks to pinserver authenticate work flow

From openscholar/openscholar#4289