Fixes in spring security