Changed security config to simpler authenticationEntryPoint
initialization.