Security: Fixing spring security war problems