Using integer instead of (username, ip) as primary key.

1. (username, ip) becomes candidate key
2. MySQL is happy (it has limits on the size of key)