Fix cross-browser issue with linkedinauth