#815392 by killes and dereine: Incorrect construction of $account caused accidental non-permanent change to $user->roles.