raise LoginException to differ between network errors and login errors