Handle solution checking more intelligently + login fixes.