Fall back to internal authentication if external authentication fails.