remove trailing CR/spaces in unwraped password