foreign: Submodule authentication fix