[BISERVER-11139] Fix for window.opener access security exceptions.