Add some authentication features.