fix signup and login forms for FireFox
fix App ID validation to handle copy-paste