GUI-129
fixed login test for aws, added checks to raise HTTPError when login fails