ensure trailing chars in password cause login failure