Issue 1480:Patch for /gluon/tools.py, thanks Jesus Alvaro
Issue 1482:Patch for /gluon/contrib/login_methods/dropbox_account.py, thanks Jesus