Changed dependsOn to loadAfter for 'springSecurityCore'