update filter hooks to work when Devise is missing

https://github.com/gregbell/active_admin/pull/3041#issuecomment-42960939