Added ability to construct client with un/pw