added edit user redirect on password fail and corresponding tests