Fix a regex for detecting AUTH.