Simple Rails authentication extracted from thoughtbot/clearance