fix failing test case on password