I have created users in the vault with the root policy attached to it.
*vault write auth/userpass/users/testuser password=testuser policies=root*
When I try to login with user testuser it failed exception is authentication failed authpass cannot create root token