Prevent errors when logging into v1 prior to database migration