Fix 'remember password' setting being not remembered.