Encode connection authorization key once.