Move the stormpath account iterator to be the outer loop