fix for Cannot access a disposed object in case AUTH fails