Role of random anisotropy in determining the phase diagram of spin glasses