add basic auth helpers