Added force auth flag (issue #3006)