Change security config due to  #771