login process debug.
update rails scripts.
Add the auth_plugin.
update the plugin init system.
do not load auth_plugin now (set up to do).