fix: Fixed a bug that overwrite the parent auth handler by the auth handler of child directory.