Merge pull request #16 from joonty/before-block

Add before block to pre-authenticate with GH, close #12
Ensure the log/ directory is in repo.
Add basic auth for /code/import.