Fixed issue when password and username does not exist.