Tidy up the login code; no functional changes.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Make the initiator-name and initiator-portal checks a little nicer.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation