[FIX] api login wasn't detected