web2py/web2py — pull request #161 by gi0baro (2013-08-04 21:34:00+00:00)
Title: Fixing bson binary TypeOf exception after fixing issue 1612

After fixing issue 1612, sometimes (encountered with auth) we have values that are not strings, so we had to convert them. See topic on developers group: https://groups.google.com/forum/#!topic/web2py-developers/6MKjeIzYhxI