fix api accounts displaying correctly on on the api accounts index page