iOS: dismiss keyboard when logging in