Fix bug where server cannot be started w/o basic auth

and add corresponding integration tests to avoid future regression

fixes https://github.com/rafecolton/docker-builder/issues/134

/cc @wjzijderveld