Complete spec and yard docs coverage for LoginCommand.
Complete spec and yard docs coverage for errors.