Update tests.
Mock Horde_Session and Horde_Core_Perms.