ndi.cloud.uilogin
uilogin - Retrieves the token from a ui dialog
Note: When the token is retrieved for the first time, it is stored in
an environment variable. This function will try to first retrieve the
token from the environment variable, and if the variable does not
exist, the ui dialog is opened for user to enter username and password.
Also, if the token exists, but has expired, the dialog will open for
user to re-enter username and password.