added a hack to get around popup blocking for peerwebrelay.requestaccesstoken