Setting api endpoint no longer logs out if the endpoint is the same as previously
[#59449300]
only set parallel flag for tests, not GOMAXPROCS