Fixed bug with flip enabled - was re-encoding password.