Only authenticate if required
Require once all files.