Rework for login

I know its been awhile but im working on a rework of the login and
registration. This update is what i have so far that i hope should work
right from opensim itself. However how im doing it right now might
change to work directly from robust.exe for grid and opensim.exe for
standalone using the info from OSW's loginURI config.