fixed basic auth plug