`shim_student_view` is used for login, and is being simplified so it can ulimately be completely deleted. In this commit, the shim preprocessing was removed by deleting unused code, and moving code that is still being used to login_user. Note: `shim_student_view` was originally added in https://github.com/edx/edx-platform/pull/5768/files ARCH-1253