[BrowserKit] added a test to make sure HTTP authentication is preserved when submitting a form
[BrowserKit] fixed test added in the previous merge (refs #7059)