Escape special characters in the password