Maybe ensure that the `Username` and `Password` are not null here?