Potential NPE dereference fix

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
new testcase for AccountManagerImpl.deleteUserAccount

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>