Modify oauth class to convert uid to string

* This is a hack and needs to be figured asap