Configuring Spring Security dependencies