fixed CAST LONGTEXT issue with mysql
Merge branch 'master' of github.com:web2py/web2py
Merge branch 'master' of github.com:web2py/web2py
fixed issue 1942, redirect in federated login security check