Clean error for non-authenticated custom ajax requests