Add exam mode assert for `browser_login_student()`.
Cleanup comments and logging codes.