bug 1072493 - Make the login widget open functionality a util so it can be used often.