mozilla-b2g/gaia — pull request #3741 by alivedise (2012-08-23 09:33:33+00:00)
Title: Fix #2611 browser app side

### This PR ###
1. Fix #2611 browser side and small fix to system side.
2. Remove unneeded code in browser side modal dialog module.
3. Fix modal dialog still shows when url-bar is focused.

### Future work ###
I have no idea if we really would like to do this becausethese are not behavior of traditional http authentication.
1. Authentication failed message
2. Select the username and clear the password when authentication failed.
c.c. @daleharvey