Fix the issue of the Native Authentication (version 4.0 only)