Dynamics in non-globally-hyperbolic static spacetimes: III. Anti-de Sitter spacetime