One or both of 'id' or 'login' must be passed.