[auth] Enlarge login attempt limit, and fix login attempts bug