MFC 273583:

Tidy up the login code; no functional changes.

Sponsored by:	The FreeBSD Foundation
MFC r273584:

Make the initiator-name and initiator-portal checks a little nicer.

Sponsored by:	The FreeBSD Foundation