Fix a fatal error when assert WWW-Authenticate header is sent

Remove an assertEquals that had no use.