**List of steps to reproduce** (step by step, including full links if applicable):
* Create a bot password using the form in [[https://es.wikipedia.org/wiki/Special:BotPasswords|Special:BotPasswords]]
* Log out from your user account (you probably need to be an anonymous user to be able to log in)
* Get a login token using [[https://es.wikipedia.org/w/api.php?action=query&meta=tokens&type=login|this API request]]
* Go to [[https://es.wikipedia.org/wiki/Special:ApiSandbox|Special:ApiSandbox]]
* Create a login request using the Username@BotName, the password created with bot passwords and the login token
**What happens?**:
`{"login":{"result":"Failed","reason":"Unable to continue login. Your session most likely timed out."}}`
**What should have happened instead?**:
The result should be successful.