Added support for two-step authentication.

The login function will email a 6-digit code to users if the user is part of a group with role 'web2py Two-Step Authentication'.