Authentication and transport encryption