Add fix and test against accidental assignment of user_id in service.getUserById