Add authentication script as a service to the Angular project.