Fixing potential issue when needing to re-auth prior to re-submitting REST request