Please load Authentication.Authentication component in AppController or remove authentication middleware from Application.php