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