Reduce the latency for login API call.