Fixes #2(Login test suite) and #3(Pools test suite)