Maked settings.login-dependant function stateful

In case #171 getts merged, functions logout, token, and login_name had to be made stateful, so they reflect changing of settings.option via setter after initialization. (Sublime trimmed some whitespaces from other lines, I hope that's OK.)