Add digest authentication management on spring security.