Fixed #20114 -- support custom project login_url in tests

Thanks to Matias Bordese for the patch
Fixed #20207 -- Handle ManyToManyField with a unicode name correctly.
Explicitly removes dismissClock

Uses the removeEvent function in core.js to remove the function from
the document click event.
Refs #4045.
Explicitly removes dismissCalendar

Uses the removeEvent function in core.js to remove the dismissCalendar
function from the document click event.
Fixes #4045.