Expose the credentialSecret and credentialToken to parent containers if there is no window.opener.

This allows other containers, such as cordova to access them.