docs/api.rst: adds example response to login endpoint
api/auth.go: fixing typo on error message
provision/docker/flatten: removing read from buffer