Review: throw errors if the response to login isn't 200