Algerian president sworn in for 2nd term