get_system_metadata handles all rets server versions
add tests for get_system_metadata
add _pretend_login to pretend successful login