a couple more login fixes