[3.8] Enhance IE 6 management

Fix #1482 Cannot load login page on IE 6