added check for additional token duration key (to make it work with Yahoo OAuth)