Fixes bootup logout issue

I've done a few things:

* refactored Delegate init code
* added exponential backoff for checking whether you are logged in when browser boots up
* added fallback to local configs if github isn't accessible