Override the sql_mode for the application session to avoid breakage with MySQL 5.6