Single-click login logic with BrowserID