Fixed two bugs involing the CP login screen