Add feature flag to authentication feature