Get the preferences as a key-value object for the currently logged in user.