Added support for setting Basic Auth credentials via a function