Handles the case where browser is blocking popups and prevents from opening authentication window.