Add BasicAuth handler wrapper

Signed-off-by: Chris Brown <cb@pivotallabs.com>
add auth to server handler if credentials given

Signed-off-by: Chris Brown <cb@pivotallabs.com>