Removed check for Ajax request in Auth filter, as this is needed for mobile app.