Pass required permissions into addaccount function, used for setting up testing credentials