Rest API : basic authentification