After a humiliating trophyless season in 2014, Barcelona faced a crisis that threatened their dominance in Spain and Europe.