Add spring security and remove conflicting dependencies.