Need Help with authentication plugin

#1

i try authetication plugin from cookbook but can not login, when i try to debug

object(Authentication\Authenticator\Result) {
[protected] _status => ‘FAILURE_CREDENTIALS_MISSING’
[protected] _data => null
[protected] _errors => [
(int) 0 => ‘Login credentials not found’
]
}

need sample with from
CMS Tutorial - Authentication (but with authentication plugin, not Auth Component )

This is my authentication config

 $service = new AuthenticationService();
    
    $service->loadIdentifier('Authentication.Password', [
        'fields' => [
            'username' => [
                'username',
                'email'
            ],
            'password' => 'password'
        ],
        'resolver' => [
            'className' => 'Authentication.Orm',
            'userModel' => 'CoreDev/Data/User.Siteuser'
        ],
        'passwordHasher' => [
            'className' => 'Authentication.Fallback',
            'hashers' => [
                [
                    'Authentication.Default'
                ],
                [
                    'className' => 'Authentication.Legacy',
                    'hashType' => 'md5'
                ]
            ]
        ]
    ]);

    // Load the authenticators, you want session first
    $service->loadAuthenticator('Authentication.Session');
    $service->loadAuthenticator('Authentication.Form', [
          'fields' => [
            'username' => [
                 'username',
                'email'
            ],
            'password' => 'password'
        ],
        'loginUrl' => '/user/login'
    ]);

    return $service;