Add basic auth check