ensuring PKClientApi's refreshSession is properly called