right exception code in AccountService, small other fixes