Small fixes related to OAuth2 and Django example