Remove unused js code for login page

Removes some unused code introduced by #5056 (flexible font size) which is no longer needed because of the login page redesign.

What should we do about the changelog entry?

> Fit pod name to page size on the sign in page #5056