handle authtoken issues for api