patch for bug #164

I did a minor change to allow **settings.LOGIN_REDIRECT_URL** being formated with the user's username before redirect him when it's needed.

I took me time because I'm not a django expert!