Basic authentication
Switch to Cornice resources
Clean-up and fix