fixed failing tests after adding oauth