<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def authenticate(self, username: str, password: str) -> None: """Authenticate against the API."""

        self._credentials = {
            'username': username,
            'password': password,
        }

        await self._get_security_token()