Fixed issues on donation and login test scripts (#158)