Fix login and course link parsing issues. TODO: Everything else...