Update Login to try unhashed password (required for AD authentication), and if this fails retry with hashed password.
Remove Citrix Diagnostics calls until a way to properly deploy the DLL can be determined.
Copper fasten logging by calling initialize method in web app, and adding checks for null references to internal methods.