Working http basic authentication for CRUD