Adds functionality for authentication with external system.