Spring security fix