Replace Basic Authentication Auth by Access Token. Create abstract repository.