Connecting to remote database.

Querying auth server using database name.