set USER environment var so GitPython doesn't freak out

When using supervisord to run the app under a daemon user,
GitPython can not get the username from the environment because
the daemon user did not log in.  This change writes the daemon
user's username to os.environ at the top of the settings file.