Add more login configuration options

Now can specify whether the login fields for
username/password are expanded by default.

For deployment at State, for example, can now
disable the 'logout' function.  Since users will be
automatically logged in by their domain, don't want to
give them the option to log out.