Implement support for repository selection stickiness

The current behavior of selecting the first created repository each
time a user logs in is frustrating and unintuitive for users.

Use a cookie that includes a username to track the currently
selected repository so that the selection persists between logins.

By including the username in the cookie maintaining the selection
for different users from the same browser will be handled correctly.