Will be nice to clear auth credentials. For example, I'm using a proxy that accepts options via username:

```
proxy.com:8080
user: wiliam_country_US
```

So, if I want to change the peer node, I change my username:

```
proxy.com:8080
user: wiliam_country_GB
```

But, I'm not changing the proxy, so electron has valid credentials and is not going to trigger `login` event.

I'm searching the way to clean auth settings so electron asks them again.
atom/browser/api/atom_api_session.cc
&Session::CreateInterruptedDownload)
      .SetProperty("cookies", &Session::Cookies)
      .SetProperty("protocol", &Session::Protocol)
      .SetProperty("webRequest", &Session::WebRequest);
}
}  
}  
namespace {
using atom::api::Session;
v8::Local<v8::Value> FromPartition(
    const std::string& partition, mate::Arguments* args) {
  if (!atom::Browser::Get()->is_ready()) {
    args->ThrowError("Session can only be received when app is ready");
    return v8::Null(args->isolate());
  }
  base::DictionaryValue options;
  args->GetNext(&options);
  return Session::FromPartition(args->isolate(), partition, options).ToV8();
}
void Initialize(v8::Local<v8::Object> exports, v8::Local<v8::Value> unused,
                v8::Local<v8::Context> context, void* priv) {
  v8::Isolate* isolate = context->GetIsolate();
  mate::Dictionary dict(isolate, exports);
  dict.Set("Session", Session::GetConstructor(isolate)->GetFunction());
  dict.Set("Cookies", Cookies::GetConstructor(isolate)->GetFunction());
  dict.SetMethod("fromPartition", &FromPartition);
}
}  
NODE_MODULE_CONTEXT_AWARE_BUILTIN(atom_browser_session, Initialize)