Updated login in api_test.sh