Returns the account at a given index.
Null pointer if the associated account is not found, pointer to the account otherwise.
Non-null pointer to a stored key
the account index to be retrieved