Spring Security: Configure debug mode programmatically