For logging in and passwords, I'd advise using a proper password manager (there are a few available, you'll have to read up on the pros and cons yourself).
I lieu of that, at the very least make sure that if you're going to paste a password, to clear the clipboard afterward, so you don't accidentally paste it somewhere else manually.