make the basic auth pages work