Fix issue when login in with a different user and trying to push
Merge pull request #532 from dotcloud/login_cookie_fix

- Registry: Fix issue when login in with a different user and trying to push