Fixes the width of the error box on the login form.

Change-Id: I51869834bfef37be362eaa42f67b5066fad88553
Properly enable/disable project/user edit via setting.

For identity backends which don't support editing (LDAP, et. al.)
we already have a setting that turns off user editing, but it was
applied inconsistently. This patch applies it more thoroughly
and adds the same functionality for projects.

Fixes bug 1109019.

Change-Id: Ia1316de4ff76779b93edd1c1f364ede9aabb6fd0
Merge "Fixes the width of the error box on the login form."
Merge "Properly enable/disable project/user edit via setting."