Modularized the login 'utcs' scripts a bit.