Incorrect OAuth url scheme
Our flask app doesn't recognize when it's behind a reverse proxy. This results in url_for
incorrectly inferring the URL scheme (http, not https because of encryption termination).
Running behind a proxy with encryption termination is discussed here: https://stackoverflow.com/questions/14810795/flask-url-for-generating-http-url-instead-of-https/37842465#37842465