Ensure that Service context is removed if there is any exception. Add the option to pass username and password as parameters to the login page