Redirect the user when logged and to 'r' querystring parameter of login

See #18 and #16