Possible fix for login issues