Tweaks to login module.