Catch cancan access denied errors and redirect to login or home.