Poor man's logging and withRestAuth stub