external authentication fix