If not the above, at least reformat as `} else {` and move setting username/password to nulls from outside of `if-else` to here (the `else` branch).