handle a null pointer exception from an OAuth refresh edge scenario.