Anti-de Sitter universe dynamics in loop quantum cosmology