Support custom UserDetailsSerializer for registration