minor fixes for restforce / oauth compatibility