Fix the API for the accounts retrieval.