arg validation error setup, basic tests for getLoginUrl