[FIX] Login redirect fails when avatar is None