[WFLY-1911] Check for username for scripted CLI to diable local auth.

Additional checks on if a username has been specified in advance so when used in scripted mode local authentication will be automatically disabled if a username has been supplied.