Replaces clearance with devise. Adds basic token based authentication.