update features and fix bugs

Add password input in admin interface if the auth_method is native.
Password and NSID input now can check format while typing.
Fix some variables to fit the new contents in config.php