The Username authenticator is designed to be used together with other authenticators as a first factor. It collects the username, and forwards the authentication decision to an action or another authenticator.
The username itself is not validated in the authenticator. If needed, validation must be done in an action or in the next authenticator.
Do not use the username authenticator standalone. It does not validate credentials.
There are no specific settings on the username authenticator
The source code for the authenticator is available on GitHub. It can make a good starting point new authenticators when needed.