API Key Form with Enhanced Debugging