public async Task <ActionResult> Login([FromBody] string password)
        {
            if (ModelState.IsValid)
            {
                if (_loginProvider.LogIn(password, out var claims))
                {
                    var identity = new ClaimsIdentity(CookieAuthenticationDefaults.AuthenticationScheme);
                    identity.AddClaims(claims);
                    await HttpContext.SignInAsync(CookieAuthenticationDefaults.AuthenticationScheme, new ClaimsPrincipal(identity));

                    return(Ok());
                }
                else
                {
                    return(Unauthorized());
                }
            }
            return(BadRequest(ModelState));
        }