Fix for #2875

Fixes autoloading issues with `DeviseController`.