Fix #292 allow space character in password