login fixes for ios