[WFLY-1911] 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.