In some cases a 50138 error at log in can be resolved by re creating the Noah ES Cloud Shim.
Steps:
Stop the Noah Client Service and Noah Server Service on the computer getting the error.
Navigate to C:\Program Files (x86)\HIMSA\Noah 4
Right click on the CloudShim folder and Delete
Restart Noah services
Log in to Noah ES again