Correctly handle email in app registration test