Configure Authentication and Encryption