Select the password by highlighting it in a word document, then Ctrl+C  to copy, followed by Ctrl+V to paste to avoid  the trailing white spaces.