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'. This goes along with pull request 202 (https://github.com/mdipierro/web2py-book/pull/202) on the web2py book repository.