[lib] handle the case where the user has no auth folder in the current working directory