Fix tests names. Add login/logout tests for api.