Complete one-click login logic with BrowserID