SecureAgentBench: Benchmarking Secure Code Generation under Realistic Vulnerability Scenarios