Fix nologin check when PAM option is disabled in the port.
PR: 229147 Submitted by: Robert Schulze <rs@bytecamp.net>