Improvements in RestController, setNewPassword more flexible