basic authentication modified