Supporting Custom Authentication Schemes