Cache login information, load it with an AJAX request

This and the cart link were the only two dynamic pieces of content on the page that would change "quickly". With both of these pieces of information now being loaded with async JS requests, whole pages on the frontend can now be cached.