for issue #43 apply basic auth