Fixed website favorites problem introduced by moving login_and_retry to
utils. Obviously it was never tested.