support HTTP basic auth

Adds support to check