fix the login problem, according to crbug.com/313155
fix logging info when updating values