update constructor to match latest opauth chnage