Relog after rebuilding bug fix

From now on, after rebuilding project you don't need to relogin.