[WFLY-2843] Use the user searcher also for authentication.

This code was essentially duplicated anyway so just getting back to where we should be ;-)