Autentication " Remember me" cookie cakephp 4 not working correctly after login

I am working with CakePHP 4.
Following the documentation, I set the ‘remember me’ cookie, when I pass the login, I don’t see in the browser the created CookieAuth.
in aplication.php

public function middleware(MiddlewareQueue $middlewareQueue): MiddlewareQueue
{
$middlewareQueue->add(new ErrorHandlerMiddleware(Configure::read(‘Error’)))
->add(new AssetMiddleware())
->add(new RoutingMiddleware($this))
->add(new BodyParserMiddleware())
->add(new EncryptedCookieMiddleware(
[‘CookieAuth’],
Configure::read(‘Security.cookieKey’)
))
->add(new AuthenticationMiddleware($this));
return $middlewareQueue;
}

getAuthenticationService

$service->loadAuthenticator(‘Authentication.Cookie’, [//‘rememberMeField’ => ‘remember_me’,
‘fields’ => $fields, ‘cookie’ => [ ‘name’ => ‘CookieAuth’, ‘expires’ => (new Time())->addDays(30), ], ‘loginUrl’ => ‘/users/login’ ]);

in config/app
‘Security’ => [
‘salt’ => env(‘SECURITY_SALT’, ‘algo’),
‘cookieKey’ => env(‘SECURITY_COOKIE_KEY’, ‘algo’),
],

login.php

<? echo $this->Form->control('remember_me', [ 'type' => 'checkbox' ]); ?>