Add fix from Philippe Caseiro for core dump on ports to auth mis-match
Fix typo