[#1918] fix the bug about auth_sources.