fix 3 bugs

1. set location.href to "#login" may do nothing;
2. misspelled function name 'setSaved';
3. in conf.js, 127.0.0.1 is more suitable than 127.0.0.2