Using Auth Proxy just to determine root in existing remote?

Very neat! I like your use of jq - very useful in bash scripts.