Set the private_key after authentication is enabled