Fix a code snippet for authentication configuration