Fix problem that user cannot login with system account