Patch for newer version of devise in DRS