Extract authentication part from app.py
Add Google Apps OAuth2 auth backend