Fixed status code for invalid password test