The virtual keyboard on the Treasury Direct login page is terrible, especially for those of us who use a password manager. I use the following bookmarklet that "types" each letter via the exposed JavaScript function on the page itself.
javascript:prompt('treasurydirect.gov password please').split('').forEach(PasswordVK)
easy-peasy