Basic authentication bug fixed