Allow overriding basic auth realm

I use a few things with a homogenous realm/username/password at home, so this lets you set the realm and use the same details across web apps.