fix crash in Authorization form