Update functional tests to handle --auth under narrowed localhost exception
Localhost exception fixes for threading tests
Use OrderedHash for db_eval test helper
Add authentication necessary for replication tests