Allows for automatic logins.

Re-arranged the login.xml to allow for a progress bar during automatic logins.