Allow custom port on db authentication.