Make Network.ListReferences(Remote) accept Credentials

Add CanListRemoteReferencesWithCredentials() test.

Fixes #647