Fixes resetting of default auth