implement standard HTTP Basic Auth mechanism + sample update