fixes #2: fix the bug that fails to change the default auth info