Key login + CLI improvments.