Attempt to solve max_user_connections issue on mysql in counter

Also attempts to solvedata.oauth being a string instead of a boolean