Role of the magnetic anisotropy in organic spin valves