Fix spring security duplicate definition
fixed #316