Added a missing authentication function.