Redirected to dashboard if course mode is none.

LMS-2617

If some one goes to verified url after expiration date passed on a verified course server gives an error because course mode is 'None' for this course after expiration.

Student redirected to dashboard.