Spring Security fix (encode when register and also login)