MediaWiki:Apihelp-login-extended-description

This action should only be used in combination with Special:BotPasswords; use for main-account signin is deprecated and may fail without warning. To safely sign in to the main account, use action=clientlogin.