basic authentication bug fixed