Test popup blocker and show error message if the test fails before authenticating