API helper method for creating accounts

Change-Id: I57e76c2b98622bc951f6bb7a15df70e22853b2cf