Revert "Cache the login box element."

This reverts commit 732c74ac4c8f2147e040aa35860011c420dbefc8.
We can’t properly cache this element since it contains a random
value: the page one gets redirected to after logging in.

Closes #450.