Excise the small part of Devise we need

:8ball: 

@brettchalupa Do you know the appropriate way to indicate that some of this code should be attributed to Devise?