Make username and pw optional, for integrated auth