Template tested rails api with devise and oauth