Login using key file