Cache username and tty up front